package com.wetao.lib_common.greendao.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

/**
 * author: zhouyh
 * created on: 2021/11/4 2:04 下午
 * description:
 */
@Entity
public class ReadPushRecord {

    /**
     * * "readPushId
     *  "readPushTitle": "51255",
     *  "pushTime": "2021-10-27 11:12:19",
     *  "fileUrl": "f://0033",
     *  "subjectName": "物理",
     *  "readTime": null,
     *  "readStatus": 3    3表示未阅读  2已经
     */

    @Id(autoincrement = true)
    private Long id;

    @NotNull
    private Integer readPushId;
    private String readPushTitle;
    private String pushTime;
    private String fileUrl;
    private String subjectName;
    private Integer readTime;
    private Integer readStatus;

    private String createTime;

    @Generated(hash = 1713600424)
    public ReadPushRecord(Long id, @NotNull Integer readPushId,
            String readPushTitle, String pushTime, String fileUrl,
            String subjectName, Integer readTime, Integer readStatus,
            String createTime) {
        this.id = id;
        this.readPushId = readPushId;
        this.readPushTitle = readPushTitle;
        this.pushTime = pushTime;
        this.fileUrl = fileUrl;
        this.subjectName = subjectName;
        this.readTime = readTime;
        this.readStatus = readStatus;
        this.createTime = createTime;
    }

    @Generated(hash = 321597497)
    public ReadPushRecord() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getReadPushId() {
        return this.readPushId;
    }

    public void setReadPushId(Integer readPushId) {
        this.readPushId = readPushId;
    }

    public String getReadPushTitle() {
        return this.readPushTitle;
    }

    public void setReadPushTitle(String readPushTitle) {
        this.readPushTitle = readPushTitle;
    }

    public String getPushTime() {
        return this.pushTime;
    }

    public void setPushTime(String pushTime) {
        this.pushTime = pushTime;
    }

    public String getFileUrl() {
        return this.fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getSubjectName() {
        return this.subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public Integer getReadTime() {
        return this.readTime;
    }

    public void setReadTime(Integer readTime) {
        this.readTime = readTime;
    }

    public Integer getReadStatus() {
        return this.readStatus;
    }

    public void setReadStatus(Integer readStatus) {
        this.readStatus = readStatus;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
